<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Informasi JTK</title>
<!--
<link href="templatemo_style.css" rel="stylesheet" type="text/css" />
-->
<style type="text/css">
@import "<?php echo base_url();?>css/templatemo_style.css";
</style>

</head>
<body>

<div id="templatemo_wrapper">
<div id="templatemo_sidebar">    
<div id="site_title">

<img src="<?php echo base_url();?>images/logo.png" /> 

</div> <!-- end of site_title --> 


<div class="sidebar_box">
<?php 
if($this->session->userdata('logged_in_jtk')) {
	?>
	<h3>Welcome <?php echo $username; ?></h3>
	<a href="<?php echo base_url();?>home/logout" onClick="return confirm('Anda yakin akan logout?')">Logout</a>
	<?php
}else{
	?>
	<h3>Login</h3>        	
	<?php echo validation_errors(); ?>
	<?php echo form_open('verifylogin'); ?>
	<table>
	<tr>
	<td>User</td><td>:</td><td><input type="text" name="username" size="15"></td>
	</tr>
	<tr>
	<td>Password</td><td>:</td><td><input type="password" name="password" size="15"></td>
	</tr>
	<tr>
	<td></td><td></td><td><input type="submit" value="Login"></td>
	</tr>
	</table>
	<?php echo form_close(); ?>
	<?php
}
?>

</div>

<div class="sidebar_box">
<h3>Latest Updates</h3>

</div>   



</div>

<div id="templatemo_content">
<?php
$data['menu'] = $menu;
$this->load->view('menu_view', $data);
?>
<div class="content_box">

<h2>Selamat Datang</h2>
<div class="content_box_inner">
this is home
</div>

</div>


</div>
<div class="cleaner"></div>    
</div>




<?php 
$this->load->view('footer_view');
?>

</body>
</html>
